package com.wocai.jrt.orgadmin.investor.service.impl;

import javax.inject.Inject;
import javax.inject.Named;

import com.wocai.jrt.orgadmin.investor.dao.RiskDisclosureDao;
import com.wocai.jrt.orgadmin.investor.model.RiskDisclosure;
import com.wocai.jrt.orgadmin.investor.model.RiskDisclosureBean;
import com.wocai.jrt.orgadmin.investor.service.spi.RiskDisclosureService;

import com.vteba.service.generic.impl.MyBatisServiceImpl;
import com.vteba.tx.jdbc.mybatis.spi.BaseDao;

/**
 * 风险揭示书相关的service业务实现。
 * @author yinlei
 * @date 2016-3-10 10:08:36
 */
@Named
public class RiskDisclosureServiceImpl extends MyBatisServiceImpl<RiskDisclosure, RiskDisclosureBean, String> implements RiskDisclosureService {
	// 添加了方法后，记得改为private
	protected RiskDisclosureDao riskDisclosureDao;
	
	@Override
	@Inject
	public void setBaseDao(BaseDao<RiskDisclosure, RiskDisclosureBean, String> riskDisclosureDao) {
		this.baseDao = riskDisclosureDao;
		this.riskDisclosureDao = (RiskDisclosureDao) riskDisclosureDao;
	}
}
